home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'Vaguely science fiction bubbles',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 26,
- 'MinAmbience': 26,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (232,120,90),
- 'Direction': (-0.701549,0.259445,0.597006),
- 'HighlightSize': 29
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (71,222,231),
- 'Direction': (-0.194958,-0.778336,-0.799406),
- 'HighlightSize': 2
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (112,169,94),
- 'Direction': (0.51475,-0.281139,-0.649306),
- 'HighlightSize': 52
- },{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (189,106,80),
- 'Direction': (0.707917,0.169577,0.699753),
- 'HighlightSize': 44
- },{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (169,93,188),
- 'Direction': (0.278767,-0.310247,-0.28996),
- 'HighlightSize': 13
- }]
- },
- 'Mode': App.Constants.CountType.Multiple,
- 'Multiple': {
- 'AverageSize': 66,
- 'Coverage': 19,
- 'CreateMethod': App.Constants.BubbleCreateMethod.Overlapping,
- 'SizeVariation': 91
- },
- 'RandomSeed': 9040,
- 'RandomizePlacement': App.Constants.Boolean.false,
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.false
- },
- 'Surface': {
- 'Material': {
- 'Color': (4,45,162),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'FileName': 'Gold',
- 'EnvironmentType': App.Constants.BubbleMapType.CurrentImage
- },
- 'Gloss': 25,
- 'Opacity': 68,
- 'Shininess': 97
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-